{{partial "title-header"}}
<div class="content">
  {{list-menu menus=menus selectedState=selectedState action="menuClicked"}}
  {{list-searcher q=q}}
<table class="pure-table pure-table-bordered pure-table-striped hundred-width">
    <thead>
        <tr>
            <th class="check-column">{{list-checkbox modellist=model selectedState=selectedState}}</th>
            <th>username</th>
            <th>email</th>
            <th>createdAt</th>
        </tr>
    </thead>
    <tbody>
    {{#each model as |user|}}
      <tr>
        <td>
          {{item-checkbox model=user}}
        </td>
        <td>{{user.name}}</td>
        <td>{{user.email}}</td>
        <td>{{riqi-format user.createdAt}}</td>
      </tr>
      {{/each}}
    </tbody>
  </table>
  {{pure-pager page=page meta=meta}}
</div>
